package com.chargerlink.echarger.vo;

import java.io.Serializable;

public class ResponseBase implements Serializable {
    //@SerializedName("code")
    private Integer code = null;

    //@SerializedName("error")
    private String error = null;

    //@SerializedName("message")
    private String message = null;

    private  Pager pager;

    public ResponseBase(Integer code, String message) {
        this.code = code;
        this.message = message;
    }

    /**
     * 返回结果。0：成功，其他：失败
     * @return code
     **/
    //@ApiModelProperty(required = true, value = "返回结果。0：成功，其他：失败")
    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }
    /**
     * 返回的错误信息。只有当返回结果为失败时有内容
     * @return error
     **/
    //@ApiModelProperty(value = "返回的错误信息。只有当返回结果为失败时有内容")
    public String getError() {
        return error;
    }

    public void setError(String error) {
        this.error = error;
    }

    /**
     * 返回的其他信息
     * @return message
     **/
    //@ApiModelProperty(value = "返回的其他信息")
    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public Pager getPager() {
        return pager;
    }

    public void setPager(Pager pager) {
        this.pager = pager;
    }



}